package com.filepublic.demo.pojo.entity;

import lombok.Builder;
import lombok.Data;

import java.time.LocalDate;

@Data
@Builder
public class EmailEntity {
    //邮件id
    Integer emailId;

    //邮箱所有者id
    String emailOwnerId;

    //邮箱发件人id
    String emailSenderId;

    //附件id
    String fileId;

    //题目
    String emailTitle;

    //前50字符
    String emailText;

    //邮件内容地址
    String emailTextPath;

    //发件时间
    LocalDate sendDate;

    //1为已读，0为未读
    Integer emailRead;

    //1为已收藏，0为未收藏
    Integer emailStar;
}
